import React, { Component } from 'react';
// 引入元素
import { Button, DatePicker } from 'antd';
// 引入样式
import 'antd/dist/antd.css';
// 引入图标
import { WechatOutlined } from '@ant-design/icons'

class App extends Component {
    render() {
        return (
            <div>
                <Button type='primary'>primary</Button>
                <Button type='link'>link</Button>
                <WechatOutlined />
                <DatePicker placeholder='选择日期'/>
            </div>
        );
    }
}

export default App;